<?php if($_SESSION['kboy_userid'] == $uid) {?>
<div class="sq-tab">
	<ul>
		<li<? if(substr_count($THIS_PAGE,'forum_news')>0){ echo " class=\"on\"";} ?>><a href="forum_news.php?uid=<?=$uid?>">最新动态</a></li>
		<li<? if(substr_count($THIS_PAGE,'forum_travel')>0){ echo " class=\"on\"";} ?>><a href="forum_travel.php?uid=<?=$uid?>">我的游记</a></li>
		<li<? if(substr_count($THIS_PAGE,'forum_photo')>0){ echo " class=\"on\"";} ?>><a href="forum_photo.php?uid=<?=$uid?>">我的相册</a></li>
		<li<? if(substr_count($THIS_PAGE,'forum_active')>0){ echo " class=\"on\"";} ?>><a href="forum_active.php?uid=<?=$uid?>">我的活动</a></li>
		<li<? if(substr_count($THIS_PAGE,'forum_map')>0){ echo " class=\"on\"";} ?>><a href="forum_map.php?uid=<?=$uid?>">我的足迹</a></li>
		<li<? if(substr_count($THIS_PAGE,'forum_message')>0){ echo " class=\"on\"";} ?>><a href="forum_message.php?uid=<?=$uid?>">互动留言</a></li>
		<li<? if(substr_count($THIS_PAGE,'forum_friend')>0){ echo " class=\"on\"";} ?>><a href="forum_friend.php?uid=<?=$uid?>">我的好友</a></li>
	</ul>
</div>
<?php }else{ ?>
<div class="sq-tab">
	<ul>
		<li<? if(substr_count($THIS_PAGE,'forum_news')>0){ echo " class=\"on\"";} ?>><a href="forum_news.php?uid=<?=$uid?>">最新动态</a></li>
		<li<? if(substr_count($THIS_PAGE,'forum_travel')>0){ echo " class=\"on\"";} ?>><a href="forum_travel.php?uid=<?=$uid?>">ta的游记</a></li>
		<li<? if(substr_count($THIS_PAGE,'forum_photo')>0){ echo " class=\"on\"";} ?>><a href="forum_photo.php?uid=<?=$uid?>">ta的相册</a></li>
		<li<? if(substr_count($THIS_PAGE,'forum_active')>0){ echo " class=\"on\"";} ?>><a href="forum_active.php?uid=<?=$uid?>">ta的活动</a></li>
		<li<? if(substr_count($THIS_PAGE,'forum_map')>0){ echo " class=\"on\"";} ?>><a href="forum_map.php?uid=<?=$uid?>">ta的足迹</a></li>
		<li<? if(substr_count($THIS_PAGE,'forum_message')>0){ echo " class=\"on\"";} ?>><a href="forum_message.php?uid=<?=$uid?>">互动留言</a></li>
		<li<? if(substr_count($THIS_PAGE,'forum_friend')>0){ echo " class=\"on\"";} ?>><a href="forum_friend.php?uid=<?=$uid?>">ta的好友</a></li>
	</ul>
</div>	
<?php } ?>